import createNextIntlPlugin from 'next-intl/plugin'
import withPlaiceholder from '@plaiceholder/next'

const withNextIntl = createNextIntlPlugin()

/** @type {import('next').NextConfig} */
const nextConfig = {
  output: 'standalone',
  images: {
    remotePatterns: [
      {
        protocol: 'http',
        hostname: '(jdcr.tykhrs.site)',
        port: '',
        pathname: '/uploads/**',
      },
    ]
  }
}

export default withPlaiceholder(withNextIntl(nextConfig))